gap and dgo calculation examples