Works correct with index === 0