unused index and arr params here and elsewhere