changes to insertion