added digital wave output