before integrate to xservices