comments and chnge some variable names.