Adding sort and uniq to weed out duplicated records
Adding notes