more detailed function descriptions and use of joblib