Programming midimate with kpa