first stab at decision tree