updated to display and query on the mate name