now with controller and view for time worked