viewsnapshot stuff