Improved controller