added card counting ability.