Moved everything to viewDidLoad