Move magic numbers to local variables