this is team_TK's project of PG in TeRes