removed useless processlargearray function
index files refactored