Magic cookie