CoffeTime example code