few trial done on code, errors
Corrected files