updated example with changes of references and predefined actions