fixing subset typo and changing subset variable name.