figuring out better magic numbers