Initial working version - G2D