Externalization sample code