change and add comments in 6guard.py