commented out amount and unit code

put functions that are no more needed into unused_functions.py