added getDescription method as a utility method