adding code for testing of notes