change some controllers to object controllers