Implemented snapshot retention