point main to index