connected label to viewcontroller .h file instead of .m file and changed a method name