Modified View Cotroller with if (card)