add extensions + tree