changed every Exception catch to Throwable