support reading and writing status