saving matches figure