added sleep function to requestIdnumber