Finished rough draft of INSERT code