add controller struct