converted number to factor to a global constant