changed NSLog to adequate MWLogs