added parsing for EXTERNAL stmt