Working on Client and server