Why do you include layout code in this view?