new, much shorter implementation of coffee generator