add sigle inheritance table pattern