refactoring of player