changed Stage into a Cache