change method chaining in merchant