modified configureController