fixes for laredo
bring example into line with new version