added states for player