refactor highlight block for card