separating the controllers