tweaking isCardYellow a bit more