add methods to PlayerState