it looks like we need only `index` and `put` methods