nobsY: added pending() function internally