changing read/write method signatures.