Changes the main with the card

Changed the lines 188 and 189