working with deck dict