added loading indicator for definitions