Nested DPI task/function call example