Oops put those functions in the wrong viewController at first. Fixed it.