moved -tpg argument to be second