fixed insertion, took 7 seconds