added override to Equals method