modified the card view