Added examples code
Added example4