end externalization modified