erasing magic numbers