* refactor&unify storage manipulating functions