Changed variable names for clarity.