implementing client
started server