includes a second implementation for insertDash.