finish ai_contest stuff