removed some save_and_open
Refactor of stake_for and stake_for_value