finished Case G and H