updated with comparisons