implemented cards to view