changed the variable names of both class and edit body of constructor and also added set and get methods