mathematica crazy theory stuff