added first wrapped system call of sleep(), with demo on this
sleep() changed to sleep_ms() for higher precison