implementing idle exercise