corrections to equals method chapter