add comp detail class