Added master-detail template