changing to nested controller