turn magic numbers into the (already existant but unused) defined constants