setting dp-desc in switch