updated initialization of non-temporary variables