add snapshot definition