convert import to a bulk operation