adding in detail views and data model alterations