added the getDefinition method