Adjusted waitforvbl call