model controller and views for trial