external function test added