Added ToG3 class