made an earthquake class - easier