Went on writing KMP part