replaced 'duration' with __ms