remove magic numbers.