added styles and comments