Start of comparison function (for saving a user's changes