put tg version into a variable at the top