removed NSLog statements