output matched sequences