minor edit to equals method