fixed code format
changed Set to Hash

Set is deprecated
removed reference