added working directive for card items