`$p` isn't a very descriptive variable name. Also the variable appears unused.