set main component