optimize equals