D7g class