added a logfile