v1.2 code sharing between global controller