read/write interface converted to vector