Coffee rewrite