move Magic numbers into class