added functions for listhashset