udpated example