Aren't ``l`` and ``p`` out of scope here?