magical thinking formula