getting and displaying matches work