getSnapshot() instead of .snapshot