Refactor dash.

Signed-off-by: cameronbourke <cameron2295@gmail.com>