require() can use index for load it's deps