working on logfile