Snake in a Tree? How can that be?

We saw this snake during our hike today.  It started out on the ground, but then raced off, climbing into the tree.  Bob identified it as a red racer.

2013-09-13-DSC08497-cropped-medium 2013-09-13-DSC08497-medium