generated shifts view and controller