fixing a typo on the equals rules..both versions