rewrite custom block