websample for client