added itpdir API stuff --KW