I\'m updating and then referring to the last item added to a list to determine an outcome, for example:
if item_list[-1] != item_list[-2]: outcome1