moving constans to global scope