trying to make the investment model work