A story of a cookie factory