Earthquake def

Please merge this stuff.