erasing some magic numbers