getting a smarter controller to handle the actions that need to be carried out