index offset added