revision with getter and setter