adds baseview for better reusability.