Smart FEM