created index and styles