added support for obj with reverse indexing