Stuffed a couple of magic numbers into semi readable variables.