making changes to the view controller