read and write sort of work