updated with compare button