added spending to log file