adding examples for snap
machine-generated version