Please write out the name "player" for the variable. It is much easier to know what it is when using a better describing name. "p" is very ambiguous, it could mean so many different things.