* mertric -> metric
* nitpick: `index - 1`