example with default arguments