added bulk mode