add controller getter and setter