finish assignment controller and view