snapshot - this is very bad code right now!!!