some changes to include bus edge separately