Roll back controller to function