added as_compare