added n to htruncdf