- added the offset to readAllObjects