Now uses smartdm