nesting in view and controller