corrected the code files