create get-note function