complete function getSnapshot()