added sdterr direction