removed NSLog calls