created inheritance styles