renamed methods for reading and writing blocks