added checks for different dash types