add compare to views