Made some variables and parameters public