removed unused write/read methods