created index and logic files