Deleted duplicates
Standardized code
Reinserted file.