fixed formatting of code snips