added constant check