refactor so that there are no global variables
make the cash placeholder more informative
update version