Trying out generating index.