changed it to master detail app