starting to implement partials into the controller