added the LptTree class