added initial index