using remote serice on client