(use midi lib). begin snake experiment
ok. after emulating the trimEnd it works. somehow that is broken :(