agrees to invest