Earthquake resistant design