just finished insertinto function that works