add sleep to tau and alpha createdevice