Added 'finals matches' code.