full code snapshot