7th Revision

added logfile but never tested