add function of noteview