posptr is now positions
Cleaning up.
update example