Code for coffee project