controllers and scope