organized
getVar func