Insert Into functionality

can move this try/catch block within the above if block.