Example with extend