new example for client functions