Working on read and write on client