I should sleep now. Wrong variable name, fixed.