You should probably reset the `start_index` in here? I am not sure why what you have isn't doing it right.