formatting and comments
still working and final (not optimized and likely never will be)