Changed variable names to make it read nicer.