avoiding of magic numbers