Exercise4: snapshots added