we need to use collection inside index