Use Hash instead of Set