formatting of code in index