changed views to include proper snapshot