separated room view from index view