added getVar