th morning
Moved some code from views to controller
updating