migrated use of deprecated methods to the current tgg model