refined the MVC advanced assignment