added NSLog as you suggested