finished the controllers