Added insert_function()