somewhat working indexes
index list
better parsing and formatting of arrays