small modification to index fy