Added extends to the example