some commenting and formating