use EXTERNAL_* macro