updated pickle package, function calls