slight mods. testing now deletes the match it creates.