Jeremy Newman : always encode the input var