added controller, view, and a new attribute