added copy to index