Smart controllers