{(intermediate value)(intermediate value)}[l] is not a function