added token printer