rename snap in snap.go