fixed up insert callback take 2