edited the controllers