modify  accept an object