mods to viewcontroller