moving components to outside header