So i have this code and i want to execute the function in it for a specific array index, is it possible?