added send method on client master side