added clear function to dash class