simplified equality