cards controller