starting to make master detail view