Surveillance video from the Times-Standard newspaper in Eureka, CA shows an employee’s dog sensing the 6.5 magnitude earthquake moments before it shook the building on January 9, 2010.

The dog, whose name is Sophie, can be see darting from its resting position in search for its owner. The good news is that the dog and its owner made it out of the building safely.