taking investment amount from wallet