check for defined constants