Added detection of additional notes
Updated note detection