Added primary to controler