Fix the correct position of the functions insert in the previous commit