assembling the components