updated base condition
working deck, card and controller classes