removed print statement, added date to log