used the wrong insert function last time