beginnings of var manip