Connecting the different components