decision tree skeleton