cards are being painted corectly