add method to player entity