refactor native judge to give out replay data.