adding getter and setter