added variables and removed callback from getGeoToken