implement CAS on the displayed notes