add exportSync and export method to the game