update comments, change a variable name