removes print statements and new log