The variable name percent is no longer correct, now that this value is between 0 and 1 instead of 0 and 100.  Not a big deal, though.