Corrected the placement of g3