This may not have been your code to begin with, but worth changing these numbers to consts?