tune magic numbers