continuing the GI algorithm...