updated the parameters and added copyright on each files