moved the equals method chapter