match ending output