Snappshot rewritten in Golang