Code for first two rounds