mherzo implemented and tested