Used Set instead of HasHMap