simplified compare