minor formatting of the code