code for qualification round