Remove magic numbers to be easily understood