added extending examples