xfer coffee logic to model