tree operations (adding default values)