refactoring of player info