AFM_control