needed *x, not x, as the lambda was getting 0 args when it was expecting 1