minor order change. read/write at bottom