Add save_var method
Fix docstring