Fixed variable naming inconsistency