Completed layout for the controller