additions from wed lecture
Amending controllers
adding like functionality