Converting to component/component format