updated examples.
split assert in indexer. makes tracking down bugs easier.