added log and removed createLogFile from skeleton code