improvements to cards, toggles, type, and docs