Changed the name of HD to HDU and finished the stalling logic.