Cards logic and views added