allowing for comparison between same ids