Extracted some magic numbers to constants