The second variable should be l(S)