added bulk add support