Client stub (not tested)