example with actions