example with 1000 messages