working with snapshots correctly