added comments and syntax highlighting