refactors component info