add component class