Added a check for the definition