external code