samplingtime now works with milisec