worked on client-server