add getter and setter