use symbols instead of magic numbers