Phew! card logic and stuff