load the snapshot on startup
add some logging too