extended example with using defining features