finalizing getdata from dri Api logic