pass data index