minor change to logic to move "content" to view, and keep logic in controller.