working server and clients