attempt at list_insert_before