added support for multiple notes