Added work in progress read/write functions