changing constants to static, not defined