added timestamp to logfile