updated example query to account for the database being down.