adding the main component