index was always 1