Working read and write