method added to send dataset to uicontroller