Vikram, thanks for help. But I need to implement some special wireless simulation( if I change the code in ns2,it will be much more complicated. But if I change directly from cmu extension it will be easier) related to cmu extension. Is it possible that i still can install cmu-extensions in ns-2.1b7a? otherwise I must reinstall ns-2.1b3. Thanks a lot. -Kai