cookies in the calculations