filled out controller methods