got insert working properly