better comments about global var