polishing doc and types