added functionality to IfNotCards