issue #37, added documentation to my methods in the controller