Factory added in  the controller