snapshot algorithm implemented. snapshot finished [start]