begin stall logic module