got both earthquake methods working