Refactored to use self-explanatory named constants instead of magic number.