Adding input-match