2 hours to write for i loop in coffee, but it looks so elegant