Code for Dashing.