global controller struct