Bug demonstration code