added shared controller