Getting the first index