filled out controller class