get vars working