How dynamic milling works and its applications