added features to deferred. made tree more accessible