FIXED: base recognition