added limit to melody notes