working on sample server/client