removed legacy 'void' check