why every class should have its own cookie, do