comment added to the code explaining the numbers.  I also moved the values out into constants.