add getter and setter and method