Building smarter controls