Implemented snapshot creation