would it make sense to change `outputPath` to a val above?