package tree modified2