took a different approach to my controller