Added card detection support