Add comments. Modify some variables.