updated analysis to handle note to note comparison
added test case for note to note comparison