replaced .view with .snap