refactor magic numbers into files!