reformatted code example