mark #3 as extra credit and make equation not a global var
ready for candidates :-)