created new class to create snapshots