storage rewrite