added example and comparator edits