add flagjudge