view for dictinory and cards