added extending example