insert.py commented unused functions