Final draft code to G2