added bulk inserts, a lot faster now