minor changes in  extern_create()