length defaults to 1 millisec