update

updated inVars to aVars and other comments.