got the insertion working

these pointers are a total mind fuck