modified getBannedCards to include format param