updated inline external wrapper
updated inline external wrapper