Had variable name wrong