added necessaries to index