Removed sameElements, because elementsEqual already exists