added newThrows option