real IDs for objects
renamed old object "id" to index