Add viewNoted function