fb code and get_earthquakes plays nicely with database index