Example of extend class