rewriting ext-blocks