added total weight tracker in adapter
merged conflicts