used the API macro in the game header