Replace magic numbers with a variable