Insert Into functionality

can merge this try/catch block with the previous one.