Add indices.
Bugs 139 and 141 fixed.
Add POS values.