Examples Code reformatted