add some read and store function