Updated example with default values