an actual, not-yet-working formula and fixed if-statements.