change measurement to milliseconds