auto add whole component