sdf
almost writing to logfile