refactor - coffee idioms