moved all data to hashsets for unique elements