moving var around