working with updated vars