corrected a variable nameing discrepency in driver code