to be resumed at getNextAction