some midi enhancements