Constant is defined check added