create insert function (call to function is commented out)