checking the specific index

starting with i which is equal to 1