example insert using parameters

I hope this example will help someone in future!