2 Bridge (Structural) Design Pattern

Bridge pattern is applied to avoid the problem.