p is undefined.
s added