updated code example removed xmp