Changed variable name to match argument