A model of price adjustment