added storage when saving tree