well, the `minify` function smells.