working CART tree with minimal testing