working on master-view problem