hash same elements