refactored code in knockout_stage; added knockout_indext to Match table