Added code to identify unique objects