State getter and setter added