Example 4 – batch operations