removed NSLog call