some modifications of output of BDS
merged