updated secure var definition