rename the method `add()` to `put`