serverside client functions