added a real index
added some copy to the index file