Fixed "p" not being functional