change SDK as function.