copied some files from oldscholar