Shorten up code example