ADDED:master-detail view based source code