externs corrected