deleted is snapshot
added some comments