tweaking styles and format of code.