changed pointer to dStar in NScool