external and internal