Updated code in Bing chapter