some commenting/code formatting