first attempt  Htree