updated two examples