changing the debug controller from array to just a controller