example with processor