clean up, added profit dependent effort func