implement matching in ILWORK
implement IPER array for matches