How was the barter system executed in the past?​