refactoring and added method to player interface