End to end passing of vars working