renamed source files to fixed bad indexing