Preparing to write hard mathy function.