Cleaned up some code for the NSLog.