check for definitions