added support for hidden cards