Changing some variable names for better understanding