initialization of variables added