removed writeing to log file