cassy: stop using "p" as a variable name (wtf?)