KMP (tested with v0.1.3.1)