set duration to 100ms