implemented duty cycles