Some changes to the earthquakes class