rewrite coffee compiliation