some commenting and indentations