generates hasSame listing