added methods to player and bag