new files for index and the real app