nested relation: ig and gi