removed example, fixed vector index, cleanups