comitted on 1025

added KMP