made some changes to the card layout