longwaiting code tested