Add comments to the match function.