adding logic to show where pauses are located