modified as this ds has to be used by change view and edit both