comment and global var chnages