remove redundant parameter
remove un referenced variable
make some changes to the file