added dsgp api impl