Code

Moved snapshot routine here