adds match_history and foundation