figuring out variable type for pathID