set ndem=1