added ability to include uiviews in contents