cleaner output for scala