added NSLog to button press to verify that controller is functioniong correctly