Rewrite (and nano-store)